Rule-based network-threat detection

ABSTRACT

A packet-filtering device may receive packet-filtering rules configured to cause the packet-filtering device to identify packets corresponding to network-threat indicators. The packet-filtering device may receive packets and, for each packet, may determine that the packet corresponds to criteria specified by a packet-filtering rule. The criteria may correspond to one or more of the network-threat indicators. The packet-filtering device may apply an operator specified by the packet-filtering rule. The operator may be configured to cause the packet-filtering device to either prevent the packet from continuing toward its destination or allow the packet to continue toward its destination. The packet-filtering device may generate a log entry comprising information from the packet-filtering rule that identifies the one or more network-threat indicators and indicating whether the packet-filtering device prevented the packet from continuing toward its destination or allowed the packet to continue toward its destination.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a Continuation of co-pending U.S. patent application Ser. No. 15/827,477, filed Nov. 30, 2017, which is a continuation of U.S. patent application Ser. No. 14/690,302 (now U.S. Pat. No. 9,755,576), filed Apr. 17, 2015, the content of which are hereby incorporated by reference into the present application.

BACKGROUND

Network security is becoming increasingly important as the information age continues to unfold. Network threats may take a variety of forms (e.g., unauthorized requests or data transfers, viruses, malware, large volumes of network traffic designed to overwhelm network resources, and the like). Many organizations subscribe to network-threat services that periodically provide information associated with network threats, for example, reports that include listings of network-threat indicators (e.g., network addresses, uniform resources identifiers (URIs), and the like). The information provided by such services may be utilized by organizations to identify network threats. For example, logs generated by the organization's network devices may be reviewed for data corresponding to the network-threat indicators provided by such services. But because the logs are generated based on the traffic processed by the network devices without regard to the network-threat indicators, this process is often tedious and time consuming and is exacerbated by the continuously evolving nature of potential threats. Accordingly, there is a need for rule-based network-threat detection.

SUMMARY

The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosure. It is intended neither to identify key or critical elements of the disclosure nor to delineate the scope of the disclosure. The following summary merely presents some concepts of the disclosure in a simplified form as a prelude to the description below.

Aspects of this disclosure relate to rule-based network-threat detection. In accordance with embodiments of the disclosure, a packet-filtering device may receive packet-filtering rules configured to cause the packet-filtering device to identify packets corresponding to network-threat indicators. The packet-filtering device may receive packets and, for each packet, may determine that the packet corresponds to criteria specified by a packet-filtering rule. The criteria may correspond to one or more of the network-threat indicators. The packet-filtering device may apply an operator specified by the packet-filtering rule. The operator may be configured to cause the packet-filtering device to either prevent the packet from continuing toward its destination or allow the packet to continue toward its destination. The packet-filtering device may generate a log entry comprising information from the packet-filtering rule that identifies the one or more network-threat indicators and indicating whether the packet-filtering device prevented the packet from continuing toward its destination or allowed the packet to continue toward its destination.

In some embodiments, the packet-filtering device may generate and communicate to a user device data indicating whether the packet-filtering device prevented the packet from continuing toward its destination or allowed the packet to continue toward its destination. The user device may receive the data and indicate in an interface displayed by the user device whether the packet-filtering device prevented the packet from continuing toward its destination or allowed the packet to continue toward its destination. The interface may comprise an element that when invoked by a user of the user device causes the user device to instruct the packet-filtering device to reconfigure the operator to prevent future packets corresponding to the criteria from continuing toward their respective destinations.

BRIEF DESCRIPTION OF THE DRAWINGS

The present disclosure is pointed out with particularity in the appended claims. Features of the disclosure will become more apparent upon a review of this disclosure in its entirety, including the drawing figures provided herewith.

Some features herein are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings, in which like reference numerals refer to similar elements, and wherein:

FIG. 1 depicts an illustrative environment for rule-based network-threat detection in accordance with one or more aspects of the disclosure;

FIGS. 2A and 2B depict illustrative devices for rule-based network-threat detection in accordance with one or more aspects of the disclosure;

FIGS. 3A, 3B, 3C, 3D, 3E, and 3F depict an illustrative event sequence for rule-based network-threat detection in accordance with one or more aspects of the disclosure;

FIGS. 4A, 4B, and 4C depict illustrative packet-filtering rules for rule-based network-threat detection in accordance with one or more aspects of the disclosure;

FIGS. 5A, 5B, 5C, 5D, 5E, 5F, and 5G depict illustrative logs for rule-based network-threat detection in accordance with one or more aspects of the disclosure;

FIGS. 6A, 6B, 6C, 6D, 6E, 6F, and 6G depict illustrative interfaces for rule-based network-threat detection in accordance with one or more aspects of the disclosure; and

FIG. 7 depicts an illustrative method for rule-based network-threat detection in accordance with one or more aspects of the disclosure.

DETAILED DESCRIPTION

In the following description of various illustrative embodiments, reference is made to the accompanying drawings, which form a part hereof, and in which is shown, by way of illustration, various embodiments in which aspects of the disclosure may be practiced. It is to be understood that other embodiments may be utilized, and structural and functional modifications may be made, without departing from the scope of the disclosure.

Various connections between elements are discussed in the following description. These connections are general and, unless specified otherwise, may be direct or indirect, wired or wireless. In this respect, the specification is not intended to be limiting.

FIG. 1 depicts an illustrative environment for rule-based network-threat detection in accordance with one or more aspects of the disclosure. Referring to FIG. 1, environment 100 may include one or more networks. For example, environment 100 may include networks 102, 104, 106, and 108. Networks 102, 104, and 106 may comprise one or more networks (e.g., Local Area Networks (LANs), Wide Area Networks (WANs), Virtual Private Networks (VPNs), or combinations thereof) associated with one or more individuals or entities (e.g., governments, corporations, service providers, or other organizations). Network 108 may comprise one or more networks (e.g., LANs, WANs, VPNs, or combinations thereof) that interface networks 102, 104, and 106 with each other and one or more other networks (not illustrated). For example, network 108 may comprise the Internet, a similar network, or portions thereof.

Environment 100 may also include one or more hosts, such as computing or network devices (e.g., servers, desktop computers, laptop computers, tablet computers, mobile devices, smartphones, routers, gateways, switches, access points, or the like). For example, network 102 may include hosts 110, 112, and 114, network 104 may include hosts 116, 118, and 120, network 106 may include hosts 122, 124, and 126, and network 108 may interface networks 102, 104, and 106 with one or more hosts associated with rule provider 128 or network-threat-intelligence providers 130, 132, and 134, threat hosts 136, 138, and 140, and benign host 142. Network-threat-intelligence providers 130, 132, and 134 may be associated with services that monitor network threats (e.g., threats associated with threat hosts 136, 138, and 140) and disseminate (e.g., to subscribers) network-threat-intelligence reports that include network-threat indicators (e.g., network addresses, ports, fully qualified domain names (FQDNs), uniform resource locators (URLs), uniform resource identifiers (URIs), or the like) associated with the network threats, as well as other information associated with the network threats, for example, the type of threat (e.g., phishing malware, botnet malware, or the like), geographic information (e.g., International Traffic in Arms Regulations (ITAR) country, Office of Foreign Assets Control (OFAC) country, or the like), anonymous proxies (e.g., Tor network, or the like), actors (e.g., the Russian Business Network (RBN), or the like).

Environment 100 may further include packet-filtering devices 144, 146, and 148. Packet-filtering device 144 may be located at boundary 150 between networks 102 and 108. Similarly, packet-filtering device 146 may be located at boundary 152 between networks 104 and 108, and packet-filtering device 148 may be located at boundary 154 between networks 106 and 108.

FIGS. 2A and 2B depict illustrative devices for rule-based network-threat detection in accordance with one or more aspects of the disclosure.

Referring to FIG. 2A, as indicated above, packet-filtering device 144 may be located at boundary 150 between networks 102 and 108. Network 102 may include one or more network devices 202 (e.g., servers, routers, gateways, switches, access points, or the like) that interface hosts 110, 112, and 114 with network 108. Network 102 may also include tap devices 204 and 206. Tap device 204 may be located on or have access to a communication path that interfaces network devices 202 and network 102 (e.g., one or more of hosts 110, 112, and 114). Tap device 206 may be located on or have access to a communication path that interfaces network devices 202 and network 108. Packet-filtering device 144 may include memory 208, one or more processors 210, one or more communication interfaces 212, and data bus 214. Data bus 214 may interface memory 208, processors 210, and communication interfaces 212. Communication interfaces 212 may interface packet-filtering device 144 with network devices 202 and tap devices 204 and 206. Memory 208 may comprise one or more program modules 216, one or more packet-filtering rules 218, and one or more logs 220. Program modules 216 may comprise instructions that when executed by processors 210 cause packet-filtering device 144 to perform one or more of the functions described herein. Networks 104 and 106 may each comprise components similar to those described herein with respect to network 102, and packet-filtering devices 146 and 148 may each comprise components similar to those described herein with respect to packet-filtering device 144.

Referring to FIG. 2B, rule provider 128 may include one or more computing devices 222. Computing devices 222 may include memory 224, one or more processors 226, one or more communication interfaces 228, and data bus 230. Data bus 230 may interface memory 224, processors 226, and communication interfaces 228. Communication interfaces 228 may interface computing devices 222 with network 108, which, as indicated above, may interface with network 102 at boundary 150. Memory 224 may comprise one or more program modules 232, one or more network-threat indicators 234, and one or more packet-filtering rules 236. Program modules 232 may comprise instructions that when executed by processors 226 cause computing devices 222 to perform one or more of the functions described herein.

FIGS. 3A, 3B, 3C, 3D, 3E, and 3F depict an illustrative event sequence for rule-based network-threat detection in accordance with one or more aspects of the disclosure. In reviewing the illustrative event sequence, it will be appreciated that the number, order, and timing of the illustrative events is simplified for the purpose of illustration and that additional (unillustrated) events may occur, the order and time of events may differ from the depicted illustrative events, and some events or steps may be omitted, combined, or occur in an order other than that depicted by the illustrative event sequence.

Referring to FIG. 3A, at step 1, network-threat-intelligence provider 130 may communicate to rule provider 128 (e.g., via network 108, as designated by the shaded box over the line extending downward from network 108) one or more network-threat-intelligence reports identifying one or more network threats (e.g., Threat_1, Threat_2, Threat_3, and Threat_4) and comprising one or more associated network-threat indicators (e.g., network addresses, ports, FQDNs, URLs, URIs, or the like), as well as other information associated with the network threats (e.g., the type of threat, geographic information, anonymous proxies, actors, or the like). Similarly, at step 2, network-threat-intelligence provider 132 may communicate to rule provider 128 one or more network-threat-intelligence reports identifying one or more network threats (e.g., Threat_1, Threat_2, Threat_5, and Threat_6) and comprising one or more associated network-threat indicators, as well as other information associated with the network threats, and, at step 3, network-threat-intelligence provider 134 may communicate to rule provider 128 one or more network-threat-intelligence reports identifying one or more network threats (e.g., Threat_1, Threat_7, Threat_8, and Threat_9) and comprising one or more associated network-threat indicators, as well as other information associated with the network threats. Rule provider 128 (e.g., computing devices 222) may receive (e.g., via communication interfaces 228) the network-threat-intelligence reports communicated by network-threat-intelligence providers 130, 132, and 134, and may store data contained therein in memory 224 (e.g., network-threat indicators 234).

Referring to FIG. 3B, at step 4, packet-filtering device 144 may communicate one or more parameters to rule provider 128 (e.g., parameters indicating a preference, authorization, subscription, or the like to receive packet-filtering rules generated based on network-threat-intelligence reports provided by network-threat-intelligence providers 130, 132, and 134). At step 5, rule provider 128 (e.g., computing devices 222) may generate one or more packet-filtering rules (e.g., packet-filtering rules 236) based on the network-threat-intelligence reports provided by network-threat-intelligence providers 130, 132, and 134 (e.g., network-threat indicators 234) and, at step 6, may communicate the packet-filtering rules to packet-filtering device 144, which, at step 7, may update packet-filtering rules 218 to include the packet-filtering rules generated by rule provider 128 in step 5.

For example, referring to FIG. 4A, packet-filtering rules 218 may include packet-filtering rules 402 that comprise non-network-threat-intelligence rules (e.g., packet-filtering rules generated by an administrator of network 102) and packet-filtering rules 404 that comprise network-threat-intelligence rules (e.g., the packet-filtering rules communicated by rule provider 128 in step 6). Each of the network-threat-intelligence rules may comprise: one or more criteria that correspond to one or more of network-threat indicators 234 upon which the rule is based and may be configured to cause packet-filtering device 144 to identify packets corresponding to the criteria (e.g., corresponding to the network-threat indicators upon which the rule is based); an operator configured to cause packet-filtering device 144 to either prevent packets corresponding to the criteria from continuing toward their respective destinations (e.g., a BLOCK operator) or allow packets corresponding to the criteria to continue toward their respective destinations (e.g., an ALLOW operator); and information distinct from the criteria (e.g., a Threat ID) that identifies one or more of the network-threat indicators upon which the rule is based, one or more network threats associated with the network-threat indicators, one or more network-threat-intelligence reports that included the network-threat indicators, one or more of network-threat-intelligence providers 130, 132, or 134 that provided the network-threat-intelligence reports, or other information contained in the network-threat-intelligence reports that is associated with the network-threat indicators or the network threats (e.g., the type of threat, geographic information, anonymous proxies, actors, or the like).

Returning to FIG. 3B, at step 8, packet-filtering device 146 may communicate one or more parameters to rule provider 128 (e.g., parameters indicating a preference, authorization, subscription, or the like to receive packet-filtering rules generated based on network-threat-intelligence reports provided by network-threat-intelligence provider 134). At step 9, rule provider 128 may generate one or more packet-filtering rules based on the network-threat-intelligence reports provided by network-threat-intelligence provider 134 (e.g., network-threat indicators 234 (or a portion thereof included in network-threat-intelligence reports received from network-threat-intelligence provider 134)) and, at step 10, may communicate the packet-filtering rules to packet-filtering device 146, which, at step 11, may update its packet-filtering rules to include the packet-filtering rules generated by rule provider 128 in step 9. Similarly, at step 12, packet-filtering device 148 may communicate one or more parameters to rule provider 128 (e.g., parameters indicating a preference, authorization, subscription, or the like to receive packet-filtering rules generated based on network-threat-intelligence reports provided by network-threat-intelligence providers 132 and 134). At step 13, rule provider 128 may generate one or more packet-filtering rules based on the network-threat-intelligence reports provided by network-threat-intelligence providers 132 and 134 (e.g., network-threat indicators 234 (or a portion thereof included in network-threat-intelligence reports received from network-threat-intelligence providers 132 and 134)) and, at step 14, may communicate the packet-filtering rules to packet-filtering device 148, which, at step 15, may update its packet-filtering rules to include the packet-filtering rules generated by rule provider 128 in step 13.

Referring to FIG. 3C, at step 16, four packets may be communicated (e.g., via network 108, as designated by the shaded circles over the line extending downward from network 108) between host 114 and benign host 142 (e.g., two packets originating from host 114 and destined for benign host 142 and two packets originating from benign host 142 and destined for host 114), and packet-filtering device 144 may receive each of the four packets (e.g., via tap devices 204 and 206), apply one or more of packet-filtering rules 218 to the four packets, and allow the four packets to continue toward their respective destinations.

At step 17, three packets may be communicated by host 112 to threat host 136, and packet-filtering device 144 may receive each of the three packets, apply one or more of packet-filtering rules 218 to the three packets, determine that each of the three packets corresponds to criteria specified by a packet-filtering rule of packet-filtering rules 404 (e.g., Rule: TI003), apply an operator specified by the packet-filtering rule (e.g., an ALLOW operator) to each of the three packets, allow each of the three packets to continue toward its respective destination (e.g., toward threat host 136), and generate log data for each of the three packets (as designated by the triangles over the line extending downward from packet-filtering device 144).

At step 18, packet-filtering device 144 may begin processing the log data generated in step 17. For example, referring to FIG. 5A, logs 220 may include packet log 502 and flow log 504, each of which (or portions thereof) may be reserved or distinguished for entries associated with packets corresponding to criteria included in packet-filtering rules 404, and packet-filtering device 144 may generate an entry in packet log 502 for each of the three packets. Each entry may comprise data indicating a hit time for the packet (e.g., a time at which the packet was received by packet-filtering device 144, identified by packet-filtering device 144, or the like), data derived from the packet (e.g., a source address, a destination address, a port number, a protocol type, a domain name, URL, URI, or the like), one or more environmental variables (e.g., an identifier of an interface of packet-filtering device 144 over which the packet was received, an identifier of an interface of packet-filtering device 144 over which the packet was forwarded toward its destination, an identifier associated with packet-filtering device 144 (e.g., distinguishing packet-filtering device 144 from packet-filtering devices 146 and 148), or the like), data identifying the packet-filtering rule of packet-filtering rules 404 to which the packet corresponded (e.g., Thread ID: Threat_3), and data indicating whether packet-filtering device 144 prevented the packet from continuing toward its destination or allowed the packet to continue toward its destination (e.g., the character A may designate that packet-filtering device 144 allowed the packet to continue toward its destination, and the character B may designate that packet-filtering device 144 prevented the packet from continuing toward its destination).

Returning to FIG. 3C, at step 19, four packets may be communicated between host 114 and threat host 138 (e.g., two packets originating from host 114 and destined for threat host 138 and two packets originating from threat host 138 and destined for host 114), and packet-filtering device 144 may receive each of the four packets, apply one or more of packet-filtering rules 218 to the four packets, determine that each of the four packets corresponds to criteria specified by a packet-filtering rule of packet-filtering rules 404 (e.g., Rule: TI005), apply an operator specified by the packet-filtering rule (e.g., an ALLOW operator) to each of the four packets, allow each of the four packets to continue toward its respective destination, and generate log data for each of the four packets. In some embodiments, the criteria specified by one or more of packet-filtering rules 404 (e.g., the criteria generated from the network-threat indicators) may include network addresses and one or more of the packets received by packet-filtering device 144 may comprise domain names, URIs, or URLs. In such embodiments, packet-filtering device 144 may comprise a local domain name system (DNS) cache (e.g., stored in memory 208) and may utilize the local DNS cache to resolve one or more of the domain names, URIs, or URLs included in the packets into one or more of the network addresses included in the criteria.

At step 20, packet-filtering device 144 may continue processing the log data generated in step 17 and may begin processing the log data generated in step 19. In some embodiments, packet-filtering device 144 may be configured in accordance with work-conserving scheduling in order to minimize latency (e.g., the time between when a packet corresponding to a network threat crosses boundary 150 and the time when an administrator associated with network 102 is presented with an interface indicating that the packet corresponding to the network threat has crossed boundary 150). For example, referring to FIG. 5B, packet-filtering device 144 may generate entries in packet log 502 for each of the packets received in step 19 while generating an entry in flow log 504 for the packets received in step 17. Packet-filtering device 144 may generate the entry in flow log 504 for the packets received in step 17 based on the entries generated in packet log 502 (e.g., in step 18) for the packets received in step 17. The entry in flow log 504 may consolidate, compress, or summarize the entries in packet log 502. For example, the entry in flow log 504 may comprise a time range (e.g., [01, 03]) indicating the earliest hit time indicated by the entries (e.g., Time: 01) to the latest hit time indicated by the entries (e.g., Time: 03), consolidated information from the entries (e.g., a consolidation of the information derived from the packets and the environmental variables), information that each of the associated packets have in common (e.g., Threat ID: Threat_3), a count of the associated packets allowed by packet-filtering device 144 to continue toward their respective destinations, and a count of the associated packets prevented by packet-filtering device 144 from continuing toward their respective destinations.

Returning to FIG. 3C, at step 21, packet-filtering device 144 may utilize flow log 504 to generate data comprising an update for an interface associated with packet-filtering device 144 and displayed by host 110, and may communicate the data comprising the update to host 110. For example, referring to FIG. 6A, host 110 may be a user device associated with an administrator of network 102 and configured to display interface 600. Interface 600 may include graphical depictions 602 and 604, which may illustrate activity associated with packet-filtering device 144. For example, graphical depiction 602 may comprise a line chart depicting, for a user-specified time interval, a number of packet hits, a number of packets prevented from continuing toward their respective destinations, a number of packets allowed to continue toward their respective destinations, or the like, and graphical depiction 604 may comprise an annulated pie chart illustrating percentages of hits during the user-specified time interval that are associated with various category types (e.g., type of network threat, geographic information, anonymous proxies, actors, or the like).

Interface 600 may also include listing 606, which may comprise entries corresponding to network threats and, for each threat, associated information derived by packet-filtering device 144 from flow log 504 (e.g., a description of the threat, information derived from the consolidated information stored in flow log 504, the time of the last associated packet hit, a count of associated packet hits, a count of associated packets allowed by packet-filtering device 144 to continue toward their respective destinations, a count of associated packets prevented by packet-filtering device 144 from continuing toward their respective destinations) and a status of the operator included in the rule associated with the threat.

Packet-filtering device 144 may be configured to determine an ordering of the network threats, and listing 606 may be displayed in accordance with the ordering determined by packet-filtering device 144. In some embodiments, packet-filtering device 144 may be configured to determine a score for each of the network threats and the ordering may be determined based on the scores. In such embodiments, the scores may be determined based on a number of associated packet hits, times associated with the packet hits (e.g., time of day, time since last hit, or the like), whether the packet was destined for a network address associated with a host in network 102 or a host in network 108, one or more network-threat-intelligence providers that provided the network-threat indicators associated with the threat, the number of network-threat intelligence providers that provided the network-threat indicators associated with the threat, other information associated with the network threat (e.g., type of network threat, geographic information, anonymous proxies, actors, or the like).

For example, as illustrated in FIG. 6A, the threat associated with Threat ID: Threat_1 may be assigned a score (e.g., 6) higher than the score assigned to the threat associated with Threat ID: Threat_2 (e.g., 5) based on a determination that the network-threat-indicators corresponding to the threat associated with Threat ID: Threat_1 were received from three different network-threat-intelligence providers (e.g., network-threat-intelligence providers 130, 132, and 134) and a determination that the network-threat-indicators corresponding to the threat associated with Threat ID: Threat_2 were received from two different network-threat-intelligence providers (e.g., network-threat-intelligence providers 130 and 132). Similarly, the threat associated with Threat ID: Threat_2 may be assigned a score (e.g., 5) higher than the score assigned to the threat associated with Threat ID: Threat_3 (e.g., 4) based on a determination that the network-threat-indicators corresponding to the threat associated with Threat ID: Threat_2 were received from two different network-threat-intelligence providers (e.g., network-threat-intelligence providers 130 and 132) and a determination that the network-threat-indicators corresponding to the threat associated with Threat ID: Threat_3 were received from one network-threat-intelligence provider (e.g., network-threat-intelligence provider 130). Additionally, the threat associated with Threat ID: Threat_3 may be assigned a score (e.g., 4) higher than the score assigned to the threat associated with Threat ID: Threat_5 (e.g., 2) based on a determination that the last packet hit corresponding to the threat associated with Threat ID: Threat_3 is more recent than the last packet hit corresponding to the threat associated with Threat ID: Threat_5, and the threat associated with Threat ID: Threat_4 may be assigned a score (e.g., 2) higher than the score assigned to the threat associated with Threat ID: Threat_9 (e.g., 1) based on a determination that the network-threat-indicators corresponding to the threat associated with Threat ID: Threat_4 were received from network-threat-intelligence provider 130 and a determination that the network-threat-indicators corresponding to the threat associated with Threat ID: Threat_9 were received from network-threat-intelligence provider 134 (e.g., the network-threat-intelligence reports produced by network-threat-intelligence provider 130 may be regarded as more reliable than the network-threat-intelligence reports produced by network-threat-intelligence provider 134).

Returning to FIG. 3C, at step 22, three packets may be communicated by threat host 140 to host 114, and packet-filtering device 144 may receive each of the three packets, apply one or more of packet-filtering rules 218 to the three packets, determine that each of the three packets corresponds to criteria specified by a packet-filtering rule of packet-filtering rules 404 (e.g., Rule: TI001), apply an operator specified by the packet-filtering rule (e.g., an ALLOW operator) to each of the three packets, allow each of the three packets to continue toward its respective destination (e.g., toward host 114), and generate log data for each of the three packets.

At step 23, packet-filtering device 144 may continue processing the log data generated in step 19 and may begin processing the log data generated in step 22. For example, referring to FIG. 5C, packet-filtering device 144 may generate entries in packet log 502 for each of the packets received in step 22 while generating an entry in flow log 504 for the packets received in step 19 based on the entries generated in packet log 502 (e.g., in step 20) for the packets received in step 19.

Returning to FIG. 3C, at step 24, packet-filtering device 144 may utilize flow log 504 to generate data comprising an update for interface 600 and may communicate the data to host 110. For example, referring to FIG. 6B, the update may cause interface 600 to update an entry in listing 606 corresponding to the threat associated with Threat ID: Threat_5 to reflect the packets received in step 19 and to reflect a new score (e.g., 3) assigned by packet-filtering device 144 to the threat associated with Threat ID: Threat_5 (e.g., the score may have increased based on the packets received in step 19).

Interface 600 may include one or more block options that when invoked by a user of host 110 (e.g., the administrator of network 102) cause host 110 to instruct packet-filtering device 144 to reconfigure an operator of a packet-filtering rule included in packet-filtering rules 404 to prevent packets corresponding to the criteria specified by the packet-filtering rule from continuing toward their respective destinations. In some embodiments, listing 606 may include such a block option alongside each entry, and, when invoked, the block option may cause host 110 to instruct packet-filtering device 144 to reconfigure an operator of packet-filtering rules 404 that corresponds to the network threat associated with the entry. For example, interface 600 may include block option 608, which, when invoked, may cause host 110 to instruct packet-filtering device 144 to reconfigure an operator associated with Rule: TI003 (e.g., to reconfigure the operator to cause packet-filtering device 144 to prevent packets corresponding to the one or more criteria specified by Rule: TI003 (e.g., packets corresponding to the network-threat-indicators associated with Threat ID: Threat_3) from continuing toward their respective destinations).

Additionally or alternatively, when invoked, such a block option may cause host 110 to display another interface (e.g., an overlay, pop-up interface, or the like) associated with packet-filtering device 144. For example, referring to FIG. 6C, when invoked, block option 608 may cause host 110 to display interface 610. Interface 610 may comprise specific block options 612, 614, 616, and 618, modify option 620, and cancel option 622. Specific block option 612 may correspond to an option to reconfigure packet-filtering device 144 to prevent packets corresponding to the network threat and destined for or originating from a host in network 102 from continuing toward their respective destinations. Specific block option 614 may correspond to an option to reconfigure packet-filtering device 144 to prevent packets corresponding to the network threat and destined for or originating from one or more particular hosts in network 102 that have generated or received packets associated with the network threat (e.g., host 112) from continuing toward their respective destinations. Specific block option 616 may correspond to an option to reconfigure packet-filtering device 144 to prevent any packets received from the particular hosts in network 102 that have generated or received packets associated with the network threat from continuing toward hosts located in network 102. And specific block option 618 may correspond to an option to reconfigure packet-filtering device 144 to prevent any packets received from the particular hosts in network 102 that have generated or received packets associated with the network threat from continuing toward hosts located in network 108.

Interface 610 may also include rule-preview listing 624, which may display a listing of rules that will be implemented by packet-filtering device 144 in response to the user invoking modify option 620. Rule-preview listing 624 may include one or more entries corresponding to each of specific block options 612, 614, 616, and 618. For example, entry 626 may correspond to, and display a rule configured to implement, specific block option 612 (e.g., Rule: TI003 with its operator reconfigured to BLOCK). Similarly, entries 628, 630, and 632 may correspond to, and display rules configured to implement, specific block options 614, 616, and 618 (e.g., one or more new rules generated by packet-filtering device 144 based on data derived from flow log 504 (e.g., a network address associated with host 112)). Responsive to a user invoking one or more of specific block options 612, 614, 616, or 618, the interface may select the corresponding rules, and responsive to a user invoking modify option 620, host 110 may instruct packet-filtering device 144 to implement the selected rules. Responsive to a user invoking cancel option 620, host 110 may redisplay interface 600.

Returning to FIG. 3C, at step 25, host 110 may communicate instructions to packet-filtering device 144 instructing packet-filtering device 144 to reconfigure one or more of packet-filtering rules 404 (e.g., to reconfigure the operator of Rule: TI003 to BLOCK), and, at step 26, packet-filtering device 144 may reconfigure packet-filtering rules 404 accordingly, as reflected in FIG. 4B.

At step 27, three packets destined for threat host 136 may be communicated by host 112, and packet-filtering device 144 may receive each of the three packets, apply one or more of packet-filtering rules 218 to the three packets, determine that each of the three packets corresponds to criteria specified by a packet-filtering rule of packet-filtering rules 404 (e.g., Rule: TI003), apply an operator specified by the packet-filtering rule (e.g., the BLOCK operator) to each of the three packets, prevent each of the three packets from continuing toward its respective destination (e.g., toward threat host 136), and generate log data for each of the three packets.

At step 28, packet-filtering device 144 may continue processing the log data generated in step 22 and may begin processing the log data generated in step 27. For example, referring to FIG. 5D, packet-filtering device 144 may generate entries in packet log 502 for each of the packets received in step 27 while generating an entry in flow log 504 for the packets received in step 22 based on the entries generated in packet log 502 (e.g., in step 23) for the packets received in step 22.

Returning to FIG. 3C, at step 29, packet-filtering device 144 may utilize flow log 504 to generate data comprising an update for interface 600 and may communicate the data to host 110. For example, referring to FIG. 6D, the update may cause interface 600 to update an entry in listing 606 that is associated with the threat associated with Threat ID: Threat_1 to reflect the packets received in step 22, the change in the operator of the packet-filtering rule associated with the threat associated with Thread ID: Threat_3, a new score (e.g., 7) assigned by packet-filtering device 144 to the threat associated with Threat ID: Threat_1 (e.g., the score may have increased based on the packets received in step 22), a new score (e.g., 2) assigned by packet-filtering device 144 to the threat associated with Threat ID: Threat_3 (e.g., the score may have decreased based on the change of the operator in its associated packet-filtering rule), a new score (e.g., 4) assigned by packet-filtering device 144 to the threat associated with Threat ID: Threat_5, and a revised ordering, determined by packet-filtering device 144 based on the new scores.

Referring to FIG. 3D, at step 30, three packets destined for host 120 may be communicated by threat host 140, and packet-filtering device 146 may receive each of the three packets, apply one or more of its packet-filtering rules to the three packets, determine that each of the three packets corresponds to criteria specified by a packet-filtering rule (e.g., a rule corresponding to Threat ID: Threat_1), apply an operator specified by the packet-filtering rule (e.g., an ALLOW operator) to each of the three packets, allow each of the three packets to continue toward its respective destination (e.g., toward host 120), and generate log data for each of the three packets. At step 31, packet-filtering device 146 may begin processing the log data generated in step 30.

At step 32, three packets destined for host 118 may be communicated by threat host 140, and packet-filtering device 146 may receive each of the three packets, apply one or more of its packet-filtering rules to the three packets, determine that each of the three packets corresponds to criteria specified by a packet-filtering rule (e.g., the rule corresponding to Threat ID: Threat_1), apply an operator specified by the packet-filtering rule (e.g., an ALLOW operator) to each of the three packets, allow each of the three packets to continue toward its respective destination (e.g., toward host 118), and generate log data for each of the three packets.

At step 33, packet-filtering device 146 may continue processing the log data generated in step 30 and may begin processing the log data generated in step 33. At step 34, packet-filtering device 146 may generate data comprising an update for an interface associated with packet-filtering device 146 and displayed by host 116 (e.g., an interface similar to interface 600) and may communicate the data comprising the update to host 116.

At step 35, three packets destined for host 120 may be communicated by threat host 140, and packet-filtering device 146 may receive each of the three packets, apply one or more of its packet-filtering rules to the three packets, determine that each of the three packets corresponds to criteria specified by a packet-filtering rule (e.g., the rule corresponding to Threat ID: Threat_1), apply an operator specified by the packet-filtering rule (e.g., an ALLOW operator) to each of the three packets, allow each of the three packets to continue toward its respective destination (e.g., toward host 120), and generate log data for each of the three packets. At step 36, packet-filtering device 146 may continue processing the log data generated in step 32 and may begin processing the log data generated in step 35.

At step 37, packet-filtering device 146 may generate data comprising an update for the interface associated with packet-filtering device 146 and displayed by host 116 and may communicate the data comprising the update to host 116. At step 38, host 116 may communicate instructions to packet-filtering device 146 instructing packet-filtering device 146 to reconfigure one or more of its packet-filtering rules (e.g., to reconfigure the operator of the rule corresponding to Threat ID: Threat_1 to BLOCK), and, at step 39, packet-filtering device 146 may reconfigure its packet-filtering rules accordingly.

At step 40, three packets destined for host 118 and three packets destined for host 120 may be communicated by threat host 140, and packet-filtering device 146 may receive each of the six packets, apply one or more of its packet-filtering rules to the six packets, determine that each of the six packets corresponds to criteria specified by a packet-filtering rule (e.g., the rule corresponding to Threat ID: Threat_1), apply an operator specified by the packet-filtering rule (e.g., the BLOCK operator) to each of the six packets, prevent each of the six packets from continuing toward its respective destination, and generate log data for each of the six packets. At step 41, packet-filtering device 146 may continue processing the log data generated in step 35 and may begin processing the log data generated in step 40.

At step 42, packet-filtering device 146 may communicate data to rule provider 128 (e.g., data indicating that fifteen packets corresponding to Threat ID: Threat_1 were received by packet-filtering device 146, packet-filtering device 146 allowed nine of the fifteen packets to continue toward hosts in network 104, and packet-filtering device 146 prevented six of the fifteen packets from continuing toward hosts in network 104).

Referring to FIG. 3E, at step 43, four packets may be communicated between host 124 and threat host 136 (e.g., two packets originating from host 124 and destined for threat host 136 and two packets originating from threat host 136 and destined for host 124), and packet-filtering device 148 may receive each of the four packets, apply one or more of its packet-filtering rules to the four packets, and allow the four packets to continue toward their respective destinations.

At step 44, three packets destined for host 126 may be communicated by threat host 140, and packet-filtering device 148 may receive each of the three packets, apply one or more of its packet-filtering rules to the three packets, determine that each of the three packets corresponds to criteria specified by a packet-filtering rule (e.g., a rule corresponding to Threat ID: Threat_1), apply an operator specified by the packet-filtering rule (e.g., an ALLOW operator) to each of the three packets, allow each of the three packets to continue toward its respective destination (e.g., toward host 126), and generate log data for each of the three packets. At step 45, packet-filtering device 148 may begin processing the log data generated in step 44.

At step 46, three packets destined for host 126 may be communicated by threat host 140, and packet-filtering device 148 may receive each of the three packets, apply one or more of its packet-filtering rules to the three packets, determine that each of the three packets corresponds to criteria specified by a packet-filtering rule (e.g., the rule corresponding to Threat ID: Threat_1), apply an operator specified by the packet-filtering rule (e.g., an ALLOW operator) to each of the three packets, allow each of the three packets to continue toward its respective destination (e.g., toward host 126), and generate log data for each of the three packets.

At step 47, packet-filtering device 148 may continue processing the log data generated in step 44 and may begin processing the log data generated in step 47. At step 48, packet-filtering device 148 may generate data comprising an update for an interface associated with packet-filtering device 148 and displayed by host 122 (e.g., an interface similar to interface 600) and may communicate the data comprising the update to host 122.

At step 49, two packets may be communicated between host 124 and threat host 138 (e.g., a packet originating from host 124 and destined for threat host 138 and a packet originating from threat host 138 and destined for host 124), and packet-filtering device 148 may receive each of the two packets, apply one or more of its packet-filtering rules to the two packets, determine that each of the two packets corresponds to criteria specified by a packet-filtering rule (e.g., a rule corresponding to Threat ID: Threat_5), apply an operator specified by the packet-filtering rule (e.g., an ALLOW operator) to each of the two packets, allow each of the two packets to continue toward its respective destination, and generate log data for each of the two packets. At step 50, packet-filtering device 148 may continue processing the log data generated in step 46 and may begin processing the log data generated in step 49.

At step 51, packet-filtering device 148 may generate data comprising an update for the interface associated with packet-filtering device 148 and displayed by host 122 and may communicate the data comprising the update to host 122. At step 52, host 122 may communicate instructions to packet-filtering device 148 instructing packet-filtering device 148 to reconfigure one or more of its packet-filtering rules to block all packets corresponding to the network-threat indicators associated with Threat ID: Threat_1 (e.g., to reconfigure the operator of the rule corresponding to Threat ID: Threat_1 to BLOCK), and to implement one or more new packet-filtering rules configured to block all packets originating from host 126, and, at step 53, packet-filtering device 148 may reconfigure its packet-filtering rules accordingly.

At step 54, threat host 140 may generate a packet destined for host 124 and a packet destined for host 126, host 126 may generate a packet destined for benign host 142 and a packet destined for host 124, and packet-filtering device 148 may receive each of the four packets, apply one or more of its packet-filtering rules to the four packets, determine that the packets generated by threat host 140 correspond to criteria specified by the packet-filtering rule corresponding to Threat ID: Threat_1, apply an operator specified by the packet-filtering rule corresponding to Threat ID: Threat_1 (e.g., the BLOCK operator) to each of the two packets generated by threat host 140, determine that the packets generated by host 126 correspond to criteria specified by the new packet-filtering rules (e.g., a network address associated with host 126), apply an operator specified by the new packet-filtering rules (e.g., the BLOCK operator) to each of the two packets generated by host 126, prevent each of the four packets from continuing toward its respective destination, and generate log data for each of the four packets.

At step 55, packet-filtering device 148 may continue processing the log data generated in step 49 and may begin processing the log data generated in step 54. At step 56, packet-filtering device 148 may communicate data to rule provider 128 (e.g., data indicating that eight packets corresponding to Threat ID: Threat_1 were received by packet-filtering device 148, packet-filtering device 148 allowed six of the eight packets to continue toward hosts in network 106, packet-filtering device 148 prevented two of the eight packets from continuing toward hosts in network 106, two packets corresponding to Threat ID: Threat_5 were received by packet-filtering device 148, and packet-filtering device 148 allowed both of the two packets to continue toward their respective destinations).

Referring to FIG. 3F, at step 57, rule provider 128 (e.g., computing devices 222) may analyze the data received from packet-filtering devices 146 and 148 (e.g., in steps 42 and 56, respectively) and may generate, based on the analysis, an update for packet-filtering device 148. In some embodiments, the update may be configured to cause packet-filtering device 144 to reconfigure an operator of a packet-filtering rule included in packet-filtering rules 404 (e.g., to reconfigure packet-filtering device 144 to prevent packets corresponding to the criteria specified by the rule from continuing toward their respective destinations). Additionally or alternatively, the update may reconfigure one or more of packet-filtering rules 404 to affect the ordering (e.g., the scoring) of the network threats associated with packet-filtering rules 404. At step 58, rule provider 128 may communicate the updates to packet-filtering device 144, which may receive the updates and, at step 59, may update packet-filtering rules 404 accordingly. For example, the update may be configured to cause packet-filtering device 144 to reconfigure the operator of Rule: TI001 to the BLOCK operator (e.g., to reconfigure packet-filtering device 144 to prevent packets corresponding to the network-threat indicators associated with the network threat corresponding to Threat ID: Threat_1 from continuing toward their respective destinations, and packet-filtering device 144 may reconfigure packet-filtering rules 404 accordingly, as reflected in FIG. 4C).

At step 60, four packets may be communicated between host 114 and benign host 142 (e.g., two packets originating from host 114 and destined for benign host 142 and two packets originating from benign host 142 and destined for host 114), and packet-filtering device 144 may receive each of the four packets, apply one or more of packet-filtering rules 218 to the four packets, and allow the four packets to continue toward their respective destinations.

At step 61, three packets destined for threat host 136 may be communicated by host 112, and packet-filtering device 144 may receive each of the three packets, apply one or more of packet-filtering rules 218 to the three packets, determine that each of the three packets corresponds to criteria specified by a packet-filtering rule of packet-filtering rules 404 (e.g., Rule: TI003), apply an operator specified by the packet-filtering rule (e.g., the BLOCK operator) to each of the three packets, prevent each of the three packets from continuing toward its respective destination (e.g., toward threat host 136), and generate log data for each of the three packets.

At step 62, packet-filtering device 144 may continue processing the log data generated in step 27 and may begin processing the log data generated in step 62. For example, referring to FIG. 5E, packet-filtering device 144 may generate entries in packet log 502 for each of the packets received in step 61 while modifying an entry in flow log 504 for the packets received in step 27 based on the entries generated in packet log 502 (e.g., in step 28) for the packets received in step 27, for example, modifying the entry corresponding to Threat ID: Threat_3) (e.g., the time range and the count of associated packets prevented by packet-filtering device 144 from continuing toward their respective destinations).

At step 63, packet-filtering device 144 may utilize flow log 504 to generate data comprising an update for interface 600 and may communicate the data to host 110. For example, referring to FIG. 6E, the update may cause interface 600 to update the entry in listing 606 associated with Threat ID: Threat_3 to reflect the packets received in step 27, the change in the operator of the packet-filtering rule associated with Thread ID: Threat_1, a new score (e.g., 3) assigned by packet-filtering device 144 to the threat associated with Threat ID: Threat_3 (e.g., the score may have increased based on the packets received in step 27), and a new score (e.g., 5) assigned by packet-filtering device 144 to the threat associated with Threat ID: Threat_1 (e.g., the score may have decreased based on the change of the operator in its associated packet-filtering rule).

At step 64, three packets destined for host 112 and three packets destined for host 114 may be communicated by threat host 140, and packet-filtering device 144 may receive each of the six packets, apply one or more of packet-filtering rules 218 to the three packets, determine that each of the three packets corresponds to criteria specified by a packet-filtering rule of packet-filtering rules 404 (e.g., Rule: TI001), apply an operator specified by the packet-filtering rule (e.g., the BLOCK operator) to each of the six packets, prevent each of the six packets from continuing toward its respective destination, and generate log data for each of the six packets.

At step 65, packet-filtering device 144 may continue processing the log data generated in step 61 and may begin processing the log data generated in step 64. For example, referring to FIG. 5F, packet-filtering device 144 may generate entries in packet log 502 for each of the packets received in step 64 while modifying an entry in flow log 504 for the packets received in step 61 based on the entries generated in packet log 502 (e.g., in step 62) for the packets received in step 61, for example, modifying the entry corresponding to Threat ID: Threat_3 (e.g., the time range and the count of associated packets prevented by packet-filtering device 144 from continuing toward their respective destinations).

At step 66, packet-filtering device 144 may utilize flow log 504 to generate data comprising an update for interface 600 and may communicate the data to host 110. For example, referring to FIG. 6F, the update may cause interface 600 to update the entry in listing 606 associated with Threat ID: Threat_3 to reflect the packets received in step 61 and a new score (e.g., 3) assigned by packet-filtering device 144 to the threat associated with Threat ID: Threat_3 (e.g., the score may have increased based on the packets received in step 61).

At step 67, packet-filtering device 144 may continue processing the log data generated in step 64. For example, referring to FIG. 5G, packet-filtering device 144 may modify an entry in flow log 504 for the packets received in step 64 based on the entries generated in packet log 502 (e.g., in step 65) for the packets received in step 64, for example, modifying the entry corresponding to Threat ID: Threat_1 (e.g., the time range and the count of associated packets prevented by packet-filtering device 144 from continuing toward their respective destinations).

At step 68, packet-filtering device 144 may utilize flow log 504 to generate data comprising an update for interface 600 and may communicate the data to host 110. For example, referring to FIG. 6G, the update may cause interface 600 to update the entry in listing 606 associated with Threat ID: Threat_1 to reflect the packets received in step 64 and a new score (e.g., 6) assigned by packet-filtering device 144 to the threat associated with Threat ID: Threat_1 (e.g., the score may have increased based on the packets received in step 64).

FIG. 7 depicts an illustrative method for rule-based network-threat detection in accordance with one or more aspects of the disclosure. Referring to FIG. 7, at step 702, a packet-filtering device may receive a plurality of packet-filtering rules configured to cause the packet-filtering device to identify packets corresponding to one or more network-threat indicators. For example, packet-filtering device 144 may receive packet-filtering rules 404 from rule provider 128. At step 704, the packet-filtering device may receive a packet corresponding to at least one of the network-threat indicators. For example, packet-filtering device 144 may receive a packet generated by host 112 and destined for threat host 136. At step 706, the packet-filtering device may determine that the packet corresponds to criteria specified by one of the plurality of packet-filtering rules. For example, packet-filtering device 144 may determine that the packet generated by host 112 and destined for threat host 136 corresponds to Rule: TI003. At step 708, the packet-filtering device may apply an operator specified by the packet-filtering rule to the packet. For example, packet-filtering device 144 may apply an operator (e.g., an ALLOW operator) specified by Rule: TI003 to the packet generated by host 112 and may allow the packet generated by host 112 to continue toward threat host 136.

At step 710, the packet-filtering device may generate a log entry comprising information from the packet-filtering rule that is distinct from the criteria and identifies the one or more network-threat indicators. For example, packet-filtering device 144 may generate an entry in packet log 502 comprising Threat ID: Threat_3 for the packet generated by host 112. At step 712, the packet-filtering device may generate data indicating whether the packet-filtering device prevented the packet from continuing toward its destination (e.g., blocked the packet) or allowed the packet to continue toward its destination. For example, packet-filtering device 144 may generate data comprising an update for interface 600 that indicates that packet-filtering device 144 allowed the packet generated by host 112 to continue toward threat host 136. At step 714, the packet-filtering device may communicate the data to a user device. For example, packet-filtering device 144 may communicate the data comprising the update for interface 600 to host 110. At step 716, the packet-filtering device may indicate in an interface whether the packet-filtering device prevented the packet from continuing toward its destination or allowed the packet to continue toward its destination. For example, communicating the data comprising the update for interface 600 may cause host 110 to indicate in interface 600 that packet-filtering device 144 allowed the packet generated by host 112 to continue toward threat host 136.

The functions and steps described herein may be embodied in computer-usable data or computer-executable instructions, such as in one or more program modules, executed by one or more computers or other devices to perform one or more functions described herein. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types when executed by one or more processors in a computer or other data-processing device. The computer-executable instructions may be stored on a computer-readable medium such as a hard disk, optical disk, removable storage media, solid-state memory, RAM, etc. As will be appreciated, the functionality of the program modules may be combined or distributed as desired. In addition, the functionality may be embodied in whole or in part in firmware or hardware equivalents, such as integrated circuits, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGA), and the like. Particular data structures may be used to more effectively implement one or more aspects of the disclosure, and such data structures are contemplated to be within the scope of computer-executable instructions and computer-usable data described herein.

Although not required, one of ordinary skill in the art will appreciate that various aspects described herein may be embodied as a method, system, apparatus, or one or more computer-readable media storing computer-executable instructions. Accordingly, aspects may take the form of an entirely hardware embodiment, an entirely software embodiment, an entirely firmware embodiment, or an embodiment combining software, hardware, and firmware aspects in any combination.

As described herein, the various methods and acts may be operative across one or more computing devices and networks. The functionality may be distributed in any manner or may be located in a single computing device (e.g., a server, client computer, or the like).

Aspects of the disclosure have been described in terms of illustrative embodiments thereof. Numerous other embodiments, modifications, and variations within the scope and spirit of the appended claims will occur to persons of ordinary skill in the art from a review of this disclosure. For example, one of ordinary skill in the art will appreciate that the steps illustrated in the illustrative figures may be performed in other than the recited order and that one or more illustrated steps may be optional. Any and all features in the following claims may be combined or rearranged in any way possible. 

1. (canceled)
 2. A method comprising: receiving, by a packet-filtering device located at a boundary between a protected network and an unprotected network, a plurality of packets; responsive to a determination by the packet-filtering device that a first packet of the plurality of packets corresponds to a first packet matching criterion specified by a first packet-filtering rule of a plurality of packet-filtering rules: applying, by the packet-filtering device and to the first packet, a first operator specified by the first packet-filtering rule corresponding to the first packet matching criterion; generating, by the packet-filtering device and for the first packet, a packet log entry comprising at least one threat identifier corresponding to the first packet; and determining, by the packet-filtering device, at least one score associated with the at least one threat identifier; and communicating, by the packet-filtering device, the at least one score associated with the at least one threat identifier, wherein each of the plurality of packet-filtering rules specifies at least one packet matching criterion and at least one operator.
 3. The method of claim 2, wherein applying the first operator specified by the first packet-filtering rule allows the first packet to continue toward a destination of the first packet, the method further comprising: updating the first packet-filtering rule corresponding to the first packet matching criterion to specify a second operator; and responsive to a determination by the packet-filtering device that a second packet of the plurality of packets corresponds to the first packet matching criterion specified by an updated first packet-filtering rule, applying, by the packet-filtering device and to the second packet, the second operator specified by the updated first packet-filtering rule corresponding to the first packet matching criterion, wherein applying the second operator specified by the updated first packet-filtering rule prevents the second packet from continuing toward a destination of the second packet.
 4. The method of claim 2, wherein determining the at least one score further comprises determining the at least one score based on at least one of a type of threat associated with the at least one threat identifier, geographic information, an anonymous proxy associated with the at least one threat identifier, or an actor associated with the at least one threat identifier.
 5. The method of claim 2, further comprising: updating, by the packet-filtering device and based on the generated packet log entry, a packet flow log entry, wherein each packet flow entry consolidates a plurality of packet log entries corresponding to a common threat identifier, wherein the determining the at least one score associated with the at least one threat identifier comprises updating a first score associated a packet flow log entry corresponding to the at least one threat identifier.
 6. The method of claim 2, wherein determining the at least one score associated with the at least one threat identifier further comprises: determining a number of network-threat-intelligence providers of one or more network-threat-intelligence providers from which the at least one threat identifier corresponding to the first packet was received; and determining a second score for the at least one threat identifier corresponding to the first packet based on the number of network-threat-intelligence providers.
 7. The method of claim 2, wherein the determining the at least one score associated with the at least one threat identifier further comprises determining the at least one score based on a number of the plurality of packets that correspond to the at least one threat identifier.
 8. The method of claim 2, the method further comprising: updating the at least one score based on one or more times at which one or more packets of a plurality of logged packets that corresponds to one or more packet-filtering rules were filtered by the packet-filtering device; and updating the at least one score based on a number of the plurality of logged packets that correspond to the one or more packet-filtering rules.
 9. The method of claim 2, wherein determining the at least one score further comprises determining the at least one score based on an identity of one or more network-threat-intelligence providers that provided network-threat indicators associated with a corresponding threat identifier, and a number of network-threat intelligence providers that provided network-threat indicators associated with a corresponding threat identifier.
 10. The method of claim 2, wherein determining the at least one score further comprises determining the at least one score based on a destination of a packet of a plurality of logged packets that corresponds to the plurality of packet-filtering rules.
 11. The method of claim 2, wherein communicating, by the packet-filtering device, the at least one score associated with the at least one threat identifier comprises communicating a plurality of scores, wherein each score is associated with a different threat identifier.
 12. A packet-filtering device comprising: at least one processor; and memory storing instructions that when executed by the at least one processor cause the packet-filtering device to: receive, by the packet-filtering device located at a boundary between a protected network and an unprotected network, a plurality of packets; responsive to a determination by the packet-filtering device that a first packet of the plurality of packets corresponds to a first packet matching criterion specified by a first packet-filtering rule of a plurality of packet-filtering rules: apply, to the first packet, a first operator specified by the first packet-filtering rule corresponding to the first packet matching criterion; generate, for the first packet, a packet log entry comprising at least one threat identifier corresponding to the first packet; and determine at least one score associated with the at least one threat identifier; and communicate the at least one score associated with the at least one threat identifier, wherein each of the plurality of packet-filtering rules specifies at least one packet matching criterion and at least one operator.
 13. The packet-filtering device of claim 12, wherein applying the first operator specified by the first packet-filtering rule allows the first packet to continue toward a destination of the first packet, wherein instructions further cause the packet-filtering device to: update the first packet-filtering rule corresponding to the first packet matching criterion to specify a second operator; and responsive to a determination by the packet-filtering device that a second packet of the plurality of packets corresponds to the first packet matching criterion specified by an updated first packet-filtering rule, apply, to the second packet, the second operator specified by the updated first packet-filtering rule corresponding to the first packet matching criterion, wherein applying the second operator specified by the updated first packet-filtering rule prevents the second packet from continuing toward a destination of the second packet.
 14. The packet-filtering device of claim 12, wherein the instructions cause the packet-filtering device to determine the at least one score by causing the packet-filtering device to determine the at least one score based on at least one of a type of threat associated with the at least one threat identifier, geographic information, an anonymous proxy associated with the at least one threat identifier, or an actor associated with the at least one threat identifier.
 15. The packet-filtering device of claim 12, wherein the instructions cause the packet-filtering device to: update, based on the generated packet log entry, a packet flow log entry, wherein each packet flow entry consolidates a plurality of packet log entries corresponding to a common threat identifier, wherein determining the at least one score associated with the at least one threat identifier comprises updating a score associated a packet flow log entry corresponding to the at least one threat identifier.
 16. The packet-filtering device of claim 12, wherein the instructions cause the packet-filtering device to determine the at least one score by causing the packet-filtering device to determine the at least one score based on an identity of one or more network-threat-intelligence providers that provided network-threat indicators associated with a corresponding threat identifier, and a number of network-threat intelligence providers that provided network-threat indicators associated with a corresponding threat identifier.
 17. One or more non-transitory computer-readable media comprising instructions that, when executed by at least one processor of a packet-filtering device, cause the packet-filtering device to: receive, by a packet-filtering device located at a boundary between a protected network and an unprotected network, a plurality of packets; responsive to a determination by the packet-filtering device that a first packet of the plurality of packets corresponds to a first packet matching criterion specified by a first packet-filtering rule of a plurality of packet-filtering rules: apply, to the first packet, a first operator specified by the first packet-filtering rule corresponding to the first packet matching criterion; generate, for the first packet, a packet log entry comprising at least one threat identifier corresponding to the first packet; and determine at least one score associated with the at least one threat identifier; and communicate the at least one score associated with the at least one threat identifier, wherein each of the plurality of packet-filtering rules specifies at least one packet matching criterion and at least one operator.
 18. The one or more non-transitory computer-readable media of claim 17, wherein applying the first operator specified by the first packet-filtering rule allows the first packet to continue toward a destination of the first packet, and further comprising instructions that cause the packet-filtering device to: update the first packet-filtering rule corresponding to the first packet matching criterion to specify a second operator; and responsive to a determination by the packet-filtering device that a second packet of the plurality of packets corresponds to the first packet matching criterion specified by an updated first packet-filtering rule, apply, to the second packet, the second operator specified by the updated first packet-filtering rule corresponding to the first packet matching criterion, wherein applying the second operator specified by the updated first packet-filtering rule prevents the second packet from continuing toward a destination of the second packet.
 19. The one or more non-transitory computer-readable media of claim 17, wherein the instructions cause the packet-filtering device to determine the at least one score by causing the packet-filtering device to determine the at least one score based on at least one of a type of threat associated with the at least one threat identifier, geographic information, an anonymous proxy associated with the at least one threat identifier, or an actor associated with the at least one threat identifier.
 20. The one or more non-transitory computer-readable media of claim 17, further comprising instructions that cause the packet-filtering device to: update, based on the generated packet log entry, a packet flow log entry, wherein each packet flow entry consolidates a plurality of packet log entries corresponding to a common threat identifier, wherein determining the at least one score associated with the at least one threat identifier comprises updating a score associated a packet flow log entry corresponding to the at least one threat identifier.
 21. The one or more non-transitory computer-readable media of claim 17, wherein the instructions cause the packet-filtering device to determine the at least one score by causing the packet-filtering device to determine the at least one score based on an identity of one or more network-threat-intelligence providers that provided network-threat indicators associated with a corresponding threat identifier, and a number of network-threat intelligence providers that provided network-threat indicators associated with a corresponding threat identifier. 